package netty.protocoltcp;

public class Message {
    private int size;
    private byte[] message;

    public Message() {
    }

    public Message(int size, byte[] message) {
        this.size = size;
        this.message = message;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public byte[] getMessage() {
        return message;
    }

    public void setMessage(byte[] message) {
        this.message = message;
    }

}
